<?php

//Import the helper to be tested.
//If the tested helper were using some other helper, like Html,
//it should be impoorted in this line, and instantialized in startTest().
App::import('Helper', 'Bbcode');

class BbcodeTest extends CakeTestCase {

	public $instance;


	//Here we instantiate our helper, and all other helpers we need.
	public function startTest() {
		$this->instance=new Bbcode();
	}
	
	public function testAddShortcode() {
		echo $this->instance->doShortcode('[img]<hol>[i][i]dasd [/i][/i][/img]');	 
	}
	
}